Skip to content

🩹 검증 리포트가 한 번도 커밋되지 않던 문제 — git add에 -f 누락 - #21

Draft
Kevinlee7250 wants to merge 1 commit into
latestfrom
claude/blog-verify-gitadd
Draft

Kevinlee7250 wants to merge 1 commit into
latestfrom
claude/blog-verify-gitadd

Conversation

@Kevinlee7250

Copy link
Copy Markdown
Owner

문제

PR #20으로 blog-verify를 고친 뒤 오늘 39번 만에 처음 성공했습니다(run #40, 06:19). 그런데 저장소에 docs/data/verify_report.json이 없습니다. 워크플로는 초록으로 끝났고요.

원인

docs/.gitignore(npm/cli 템플릿)가 docs 하위를 전부 무시합니다.

# This file is automatically added by @npmcli/template-oss. Do not edit.
# ignore everything in the root
/*

커밋 단계가 git add를 -f 없이 호출하니 아무것도 스테이징되지 않고, 변경사항 없음 — 커밋 건너뜀으로 조용히 지나갔습니다.

git add \                      # ← -f 없음
  docs/data/verify_report.json \
  docs/data/pending_posts.json \
  2>/dev/null || true

확인:

$ git check-ignore -q docs/data/verify_report.json && echo 무시됨
무시됨

이 함정은 HANDOFF.md에 이미 적혀 있고 다른 워크플로들은 -f를 씁니다. 여기만 빠져 있었습니다.

다른 워크플로 확인

-f 없이 git add를 쓰는 워크플로 4개를 더 찾아 전부 확인했습니다.

워크플로 대상 판정
alert-watchdog blog-automation/logs/alert_state.json ✅ 무시 대상 아님
fix-unlicensed-images blog-automation/logs/used_images.json ✅
image-audit blog-automation/logs/used_images.json ✅
post-lifecycle blog-automation/logs/lifecycle_history.json 외 ✅

blog-automation/.gitignore는 logs/*.log만 무시하므로 JSON은 정상 커밋됩니다. 실제 문제는 blog-verify.yml 하나뿐입니다.

검증

머지 후 다음 blog-verify 실행에서 docs/data/verify_report.json이 커밋되면 확인됩니다. 그때부터 대시보드에서 게시 후 품질 점수를 볼 수 있습니다.

🤖 Generated with Claude Code

https://claude.ai/code/session_01RgLYqM9puPW1aqHTccbX69


Generated by Claude Code

docs/.gitignore(npm/cli 템플릿)가 /* 로 docs 하위를 전부 무시하므로
-f 없이는 아무것도 스테이징되지 않습니다. blog-verify가 39번 만에 처음
성공했는데도 verify_report.json이 저장소에 남지 않은 이유입니다.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RgLYqM9puPW1aqHTccbX69
github-actions Bot added a commit that referenced this pull request Aug 25, 2026
github-actions Bot added a commit that referenced this pull request Aug 25, 2026
github-actions Bot added a commit that referenced this pull request Sep 12, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants